<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <!-- json-array 结合使用 -->
    <script>
        var obj = [{name:"zcy",age:18},{name:"mhm",age:18}]
        console.log(obj)
    </script>
</body>
</html>